package com.elric.mall.mapper;

import com.elric.mall.model.KzRollback;
import com.elric.mall.model.KzRollbackExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface KzRollbackMapper {
    long countByExample(KzRollbackExample example);

    int deleteByExample(KzRollbackExample example);

    int deleteByPrimaryKey(Long id);

    int insert(KzRollback record);
 
    int insertBatch(List<KzRollback> records);

    int insertSelective(KzRollback record);

    List<KzRollback> selectByExampleWithBLOBs(KzRollbackExample example);

    List<KzRollback> selectByExample(KzRollbackExample example);

    KzRollback selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") KzRollback record, @Param("example") KzRollbackExample example);

    int updateByExampleWithBLOBs(@Param("record") KzRollback record, @Param("example") KzRollbackExample example);

    int updateByExample(@Param("record") KzRollback record, @Param("example") KzRollbackExample example);

    int updateByPrimaryKeySelective(KzRollback record);

    int updateByPrimaryKeyWithBLOBs(KzRollback record);

    int updateByPrimaryKey(KzRollback record);
}